package patrol.mobile.com.mobilepatrol.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by z on 2018/10/19.
 * Des: 故障报修Bean
 */

public class GuzhangBaoXiuBean implements Serializable {

    /**
     * list : [{"id":"c7f81e1f036c4baab018859d023c4953","isNewRecord":false,"createDate":"2018-10-08 11:09:03","updateDate":"2018-10-08 11:09:03","org":{"id":"b37fa1e91bd44824aa8d6620c5611748","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"巴楚分局","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"84ad799558d443579003c3b0961442a4","isNewRecord":false,"name":"张炎生"},"date":"2018-10-08 11:08:44","equipmentName":"监控器","failureType":"1","failureContent":"电脑不能打开","failureReason":"未知","auditFlag":2,"auditName":"已审核","recFlag":"1"},{"id":"7545f28f323c4b5f94c4fbbf0bac22cc","isNewRecord":false,"createDate":"2018-09-29 16:22:10","updateDate":"2018-09-29 16:22:10","org":{"id":"c0ad0f7d2795450b9689f21a53eb51c4","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"喀什公路管理局","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"1","isNewRecord":false,"name":"系统管理员"},"date":"2018-09-29 16:20:22","equipmentName":"监控器","failureType":"1","failureContent":"打不开了","failureReason":"不知道","auditFlag":2,"auditName":"已审核","recFlag":"1"},{"id":"d611d224e0744179ad0fe2e1bd218e5e","isNewRecord":false,"createDate":"2018-09-28 13:07:10","updateDate":"2018-09-28 18:23:30","org":{"id":"c2a7b4b62bb74d0ab1ccf81265f15ba5","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"监控科","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"3865bb451dab45ebbbd4d1b4680cd9e6","isNewRecord":false},"date":"2018-09-20 18:23:27","equipmentName":"345","failureType":"6","failureContent":"345","failureReason":"345","auditFlag":2,"auditName":"已审核","recFlag":"0"},{"id":"b755a678d9be4f05a06fedcafe711605","isNewRecord":false,"createDate":"2018-09-27 20:02:24","updateDate":"2018-09-28 10:46:26","org":{"id":"c2a7b4b62bb74d0ab1ccf81265f15ba5","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"监控科","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"3bb422d237154e79ae19dd6e0d3f5772","isNewRecord":false},"date":"2018-09-26 20:03:40","equipmentName":"款来看待","failureType":"3","failureContent":"123","failureReason":"123","auditFlag":0,"auditName":"反审核","recFlag":"0"},{"id":"9ea53ceef41b4ab0bc678082469b3559","isNewRecord":false,"createDate":"2018-09-27 21:48:46","updateDate":"2018-09-28 10:44:15","org":{"id":"c2a7b4b62bb74d0ab1ccf81265f15ba5","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"监控科","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"3bb422d237154e79ae19dd6e0d3f5772","isNewRecord":false},"date":"2018-09-27 21:48:35","equipmentName":"达斡尔库","failureType":"6","failureContent":"打雷","failureReason":"下雨","auditFlag":0,"auditName":"反审核","recFlag":"0"},{"id":"d07dd1c8d3514d15abb87288cfc68171","isNewRecord":false,"createDate":"2018-09-28 00:24:01","updateDate":"2018-09-28 10:43:53","org":{"id":"c2a7b4b62bb74d0ab1ccf81265f15ba5","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"监控科","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"},"account":{"id":"3bb422d237154e79ae19dd6e0d3f5772","isNewRecord":false},"date":"2018-09-19 00:23:56","equipmentName":"马卢达","failureType":"1","failureContent":"3453","failureReason":"354","auditFlag":2,"auditName":"已审核","recFlag":"0"}]
     * rows : 6
     */

    private int rows;
    private List<ListBean> list;

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * id : c7f81e1f036c4baab018859d023c4953
         * isNewRecord : false
         * createDate : 2018-10-08 11:09:03
         * updateDate : 2018-10-08 11:09:03
         * org : {"id":"b37fa1e91bd44824aa8d6620c5611748","isNewRecord":false,"orderNo":0,"isLeaf":false,"treeTable":"sys_org","orgName":"巴楚分局","officeId":0,"extParentData":false,"noUsed":false,"state":"closed"}
         * account : {"id":"84ad799558d443579003c3b0961442a4","isNewRecord":false,"name":"张炎生"}
         * date : 2018-10-08 11:08:44
         * equipmentName : 监控器
         * failureType : 1
         * failureContent : 电脑不能打开
         * failureReason : 未知
         * auditFlag : 2
         * auditName : 已审核
         * recFlag : 1
         */

        private String id;
        private boolean isNewRecord;
        private String createDate;
        private String updateDate;
        private OrgBean org;
        private AccountBean account;
        private String date;
        private String equipmentName;
        private String failureType;
        private String failureContent;
        private String failureReason;
        private int auditFlag;
        private String auditName;
        private String recFlag;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public OrgBean getOrg() {
            return org;
        }

        public void setOrg(OrgBean org) {
            this.org = org;
        }

        public AccountBean getAccount() {
            return account;
        }

        public void setAccount(AccountBean account) {
            this.account = account;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getEquipmentName() {
            return equipmentName;
        }

        public void setEquipmentName(String equipmentName) {
            this.equipmentName = equipmentName;
        }

        public String getFailureType() {
            return failureType;
        }

        public void setFailureType(String failureType) {
            this.failureType = failureType;
        }

        public String getFailureContent() {
            return failureContent;
        }

        public void setFailureContent(String failureContent) {
            this.failureContent = failureContent;
        }

        public String getFailureReason() {
            return failureReason;
        }

        public void setFailureReason(String failureReason) {
            this.failureReason = failureReason;
        }

        public int getAuditFlag() {
            return auditFlag;
        }

        public void setAuditFlag(int auditFlag) {
            this.auditFlag = auditFlag;
        }

        public String getAuditName() {
            return auditName;
        }

        public void setAuditName(String auditName) {
            this.auditName = auditName;
        }

        public String getRecFlag() {
            return recFlag;
        }

        public void setRecFlag(String recFlag) {
            this.recFlag = recFlag;
        }

        public static class OrgBean implements Serializable{
            /**
             * id : b37fa1e91bd44824aa8d6620c5611748
             * isNewRecord : false
             * orderNo : 0
             * isLeaf : false
             * treeTable : sys_org
             * orgName : 巴楚分局
             * officeId : 0
             * extParentData : false
             * noUsed : false
             * state : closed
             */

            private String id;
            private boolean isNewRecord;
            private int orderNo;
            private boolean isLeaf;
            private String treeTable;
            private String orgName;
            private int officeId;
            private boolean extParentData;
            private boolean noUsed;
            private String state;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public int getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(int orderNo) {
                this.orderNo = orderNo;
            }

            public boolean isIsLeaf() {
                return isLeaf;
            }

            public void setIsLeaf(boolean isLeaf) {
                this.isLeaf = isLeaf;
            }

            public String getTreeTable() {
                return treeTable;
            }

            public void setTreeTable(String treeTable) {
                this.treeTable = treeTable;
            }

            public String getOrgName() {
                return orgName;
            }

            public void setOrgName(String orgName) {
                this.orgName = orgName;
            }

            public int getOfficeId() {
                return officeId;
            }

            public void setOfficeId(int officeId) {
                this.officeId = officeId;
            }

            public boolean isExtParentData() {
                return extParentData;
            }

            public void setExtParentData(boolean extParentData) {
                this.extParentData = extParentData;
            }

            public boolean isNoUsed() {
                return noUsed;
            }

            public void setNoUsed(boolean noUsed) {
                this.noUsed = noUsed;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }
        }

        public static class AccountBean implements Serializable{
            /**
             * id : 84ad799558d443579003c3b0961442a4
             * isNewRecord : false
             * name : 张炎生
             */

            private String id;
            private boolean isNewRecord;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
